package com.cloudkinto.vo.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 批量操作结果vo
 *
 * @author long
 */
@Data
public class CommonBatchOperationVo {
    @ApiModelProperty("总条数")
    private Integer total = 0;

    @ApiModelProperty("成功条数")
    private Integer success = 0;

    @ApiModelProperty("失败条数")
    private Integer failed = 0;

    @ApiModelProperty("失败列表")
    private List<Map<String, Object>> failedList = new ArrayList<>();
}
